Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODClipboard


SetPlatformClipboard

The SetPlatformClipboard method copies any data of the specified types from this clipboard object to the system clipboard if this clipboard object has changed since the last update to the system clipboard.

void SetPlatformClipboard (in ODPlatformTypeList typeList);
typeList
A reference to the list of platform-dependent types to be copied to the system clipboard.
DISCUSSION
You must call this method prior to invoking any platform-specific service that uses the system clipboard.

This method examines the value type of each value in the contents property of this clipboard's storage unit. If the value type is in the specified platform type-list or if the typeList parameter is kODNULL, this method copies the data in that value to the system clipboard.

To keep system clipboard behavior consistent, this method does not attempt translation to a specified type that is not present in this clipboard object.

EXCEPTIONS
kODErrOutOfMemory
There is not enough memory to complete the operation.
This method may also throw platform-specific exceptions.

SEE ALSO
The ODClipboard::ExportClipboard method (page 92).
The ODPart::AdjustMenus method (page 480).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help